<div class="middle-box-profile">
    <div class="div_bg_top">
        <div class="bg_top">
            <div class="div_tab">
				<{include
			file="$SMARTY_LAYOUT_PATH/User/Submenu.tpl"}>
                <div style="position:relative;margin-top:-8px;" class="profile-shadow"></div>
            </div>
            <div style="padding-bottom:0;top:21px; position:relative;" class="profile-info">
                <a id="dImgProfile" href="javascript:void(0);"></a><a href=""><img width="68" height="68" src="<{$userEntity->getImage()}>" id="avatarMain"></a>
                <a name="" href="javascript:void(0);"><em id="bNameUser"><{ $fullname }></em></a>
            </div>
        </div>
    </div>
    <form method="post" action="<{$APPLICATION_URL}>/User/Index/avatar"  id="frmAvatar" enctype="multipart/form-data">
    
    <div style="padding-top:0" class="box-profile">
        <div class="middle-box-content  personal">
                            	        <i class="title_order">Upload hình đại diện</i>
                            	        <div class="div-upload">
                                        	<a style="float:right;" class="bg-btn-location" name="" href="#">
                                        	    <span class="btn-location btn-upload">
                                        	    <em>
                                        	        <input type="submit" style="border: none; background: none; width: 80px;" id="btnUpload" value="Upload" name="btnUpload">
                                        	    
                                        	    </em></span>
                                        	</a>
                                            <p>Từ máy tính của bạn</p>
                                            <input type="file" id="Avatar" name="UploadAvatar">
                                        </div>
                                        
                                        <p class="middle-box-button">
                                        
                                            <a id="btnSubmit" class="save_button_vn" name="" href="javascript:void(0);"></a>
                                            <a id="btnReset" class="cancel_button_vn" name="" href="javascript:void(0);"></a>      
                                        </p>
                                   </div>
    </div>
    </form>
</div>
<script type="text/javascript">
$(document).ready(function() {
	$("#liThongTinCN").addClass('active');
});
function formSubmit()
{
	var theform = document.frmAvatar;
	theform.actionForm.value ='submit';
	theform.submit();
	return true;
}

</script>